<template>
  <div class="about">
    <v-header />    
    <router-view v-slot="{ Component }">
      <transition name="move" mode="out-in">
        <keep-alive :include="tagsList">
          <component :is="Component" />
        </keep-alive>
      </transition>
    </router-view>
  </div>
</template>
<script>
import vHeader from "../components/Header";
export default {
  name: "Base",
  components: {
    vHeader,
  },
  computed: {
    tagsList() {
      return this.$store.state.tagsList.map((item) => item.name);
    },
    collapse() {
      return this.$store.state.collapse;
    },
  },
};
</script>
<style scoped>
.content-box {
  margin-left: 150px;
}
.content {
  padding: 0;
}
</style>
